<%@ page language="java" import="java.util.*,dao.*,entity.*"
	pageEncoding="UTF-8"%>
<html>
	<head>
		<title>My JSP 'index.jsp' starting page</title>

		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<script language="javascript">
function del(id)
{
   if(window.confirm("确定删除当前场馆信息?"))
   {
      window.location.href="dodelete.jsp?id="+id;
   }
}
</script>
	</head>

	<body>
	${requestScope.msg}
		<%
			ExpoDao ex = new ExpoDao();
			List<Profile> list = new ArrayList<Profile>();
			list = ex.getAllPro();
			for (int i = 0; i < list.size(); i++) {
				Profile pro = list.get(i);
		%>
		<table width="656" height="168" border="1" align="center"
			cellpadding="0" cellspacing="0">
			<tr>
				<td height="44" colspan="2" align="left" valign="middle"
					bgcolor="#0000FF">
					<span class="STYLE6"
						style="float: left; font-size: 24px; font-weight: bold"><%=pro.getPav_name()%></span>
					<span style="float: right"><input type="button" 
							style="background-color: #999999; width: 60px; height: 30px"
							value="删除" onClick="del(<%=pro.getId()%>)"> </span>
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<strong>基本信息</strong>
				</td>
			</tr>
			<tr>
				<td width="173" align="left">
					场馆主题:
				</td>
				<td width="477"><%=pro.getPav_theme()%></td>
			</tr>
			<tr>
				<td>
					活动周:
				</td>
				<td><%=pro.getPav_week()%></td>
			</tr>
			<tr>
				<td>
					展馆位置:
				</td>
				<td><%=pro.getPav_zone()%></td>
			</tr>
		</table>
		<br>
		<br>
		<%
			}
		%>
	</body>
</html>
